package com.luofan.entity.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 档案表
 * </p>
 *
 * @author 
 * @since 2025-03-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("archive")
public class Archive implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 所属用户ID
     */
    private Long userId;

    /**
     * 上传时间
     */
    private LocalDateTime uploadTime;

    /**
     * 档案主题
     */
    private String theme;

    /**
     * 档案内容
     */
    private String content;

    /**
     * 附件文件名
     */
    private String accessoryName;

    /**
     * 所属收集任务ID
     */
    private Long collectId;

    /**
     * 是否逾期(0:否,1:是)
     */
    private Integer isOverdue;

    /**
     * 状态(1:待审核,2:审核通过,3:未通过)
     */
    private Integer status;

    /**
     * 质量评分(1-5分)
     */
    private Integer score;

    /**
     * 审核者ID
     */
    private Long verifierId;


}
